import request from "@/utils/request";

const userApi = {
    // 登录
    login(user){
        return request({
            method: 'post',
            url: '/login',
            data: {
                    username:user.username,
                    password:user.password,
            }
        })
    },
 

};

export default userApi;
